<%-- 
    Document   : ver_estudiantes
    Created on : 26/07/2013, 10:39:36 PM
    Author     : wbeimar
--%>

<%@page import="java.util.Iterator"%>
<%@page import="VO.estudiante"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="Consu" class="DAO.Consulta"/>
<!DOCTYPE html>
<html>
    <head>
        <jsp:include page="includes/head.jsp"></jsp:include>
        <title>Ver Estudiantes | Aplicativo Colegio</title>
        <SCRIPT>

function valid(input) {
    //alert("You have changed the value from 10 to " + input);
    
    window.location.href="ver_estudiantes.jsp?grupo="+input;
    
}

</SCRIPT>
    </head>
    <body>
         <jsp:include page="includes/nav_bar.jsp"></jsp:include>
     
         
         <div class="well well-small">
            <div class="row"><a href="index.jsp"><img src="img/volver.png" class="span1" /></a><h1>Listado de Asignaturas</h1>
            </div>
             <a href="registrar_asignatura.jsp" class="btn btn-success">Nueva Asignatura</a>
             
    
         </div>
 
         
         
         <div class="table span10">
             <table class="table-bordered table-condensed span">
            <%
                //String id_grupo="0";
                //if(request.getParameter("grupo")!=null){
                //    id_grupo=request.getParameter("grupo");
               // } 
                 out.print(Consu.ListarGeneral("asignatura", "id_asignatura,(nombre_asignatura) as Materia", "'1'","tabla"));
            %>
             </table>
         </div>
     
    </body>
</html>
